package com.hq.ims.data.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hq.ims.data.entity.CompanyEmployee;
import com.hq.ims.data.vo.CompanyEmployeeMapstruct;
import com.hq.mybatis.base.page.RequestPage;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Email 526666031@qq.com
 * @Detail 公司人员表DAO数据层
 */
@Repository
public interface CompanyEmployeeMapper extends BaseMapper<CompanyEmployee> {

    /**
     * 获取未加入部门的员工
     */
    List<CompanyEmployee> getNotJoinDeptEmployee(String companyId);

    List<CompanyEmployee> getCompanyAllUserPage(
            RequestPage page,
            CompanyEmployeeMapstruct.PageSearchVo searchVo
    );


}
